		


		/*resource js*/
		function modifyResource(id,name,courseName,describe){
  			window.location.href='displayModifyResource.action?id='+id+'&name='+name+'&courseName='+courseName+'&describe='+describe;				
  	  		}
  		function deleteResource(id,fileName){
			window.location.href='deleteResource.action?id='+id+'&fileName='+fileName;
			}
  		function downloadResource(fileName){
			window.location.href='downloadResource.action?resourceFileName='+fileName;
			}
  		
  		
  		/*instructor js*/
		function modifyInstructor(id,name,age,sex,email,job_num,post){
			window.location.href='displayModifyInstructor.action?id='+id+'&name='+name+'&age='+age+'&sex='+sex+'&email='+email+'&job_num='+job_num+'&post='+post;				
	  	}
		function deleteInstructor(id){
			window.location.href='deleteInstructor.action?id='+id;				
		}
		
		/*course js*/
		function modifyCourse(cno,name,credit,period,type,describe){
			window.location.href='displayModifyCourse.action?cno='+cno+'&name='+name+'&credit='+credit+'&period='+period+'&type='+type+'&describe='+describe;				
		}
		function deleteCourse(cno){
			window.location.href='deleteCourse.action?id='+cno;				
		}